import { ApiProperty } from "@nestjs/swagger";

export class PaginationMetaDto {
  @ApiProperty({ description: "总记录数", example: 42 })
  total!: number;

  @ApiProperty({ description: "当前页码", example: 1 })
  page!: number;

  @ApiProperty({ description: "每页数量", example: 20 })
  pageSize!: number;

  @ApiProperty({ description: "总页数", example: 3 })
  pageCount!: number;
}
